﻿namespace Xrm.Framework.Core
{
    public interface IXrmContainer
    {
        void Register<TInterface, TImplementation>()
            where TImplementation : TInterface, new();

        void Register<TInterface>(TInterface implementation);

        TInterface Resolve<TInterface>();

        IXrmContainer CreateChild();
    }
}
